{"version":3,"sources":["carousel_helper.js"],"names":["BX","namespace","Landing","SliderHelper","ACTION_INIT","ACTION_ADD","ACTION_REMOVE","ACTION_UPDATE","ACTIVE_CLASS","init","event","action","relativeSelector","makeCarouselRelativeSelector","nodes","block","querySelectorAll","length","isSliderActive","destroy","initBase","goToSlide","setSelection","slickCurrentSlide","$","slick","window","getSelection","rangeCount","range","getRangeAt","savedRange","sCont","startContainer","sOffset","startOffset","eCont","endContainer","eOffset","endOffset","result","Object","keys","forEach","name","hasClass","selector","excludeClasses","data","type","isArray","item","class","parent","find","removeClass","HSCore","components","HSCarousel","accessibility","getMode","carouselClass","carouselRelativeSelector","carouselSelectors","eventNodes","card","className","split","join","node","n","currCarousel","findParent","currSelector","classList","cl","indexOf","push","s","i","makeRelativeSelector","document","createRange","setStart","setEnd","sel","removeAllRanges","addRange","currSlideNumber","parseInt","slideContainer","querySelector","dataset","rows","newSlideNumber","slickIndex","goToNewSlideAfterAdd","goToNewSlideAfterRemove","goToSlideAfterUpdate","carouselSelector","isNumber","slidesToShow","Math","min"],"mappings":"CAAC,WAEA,aAEAA,GAAGC,UAAU,2BAEbD,GAAGE,QAAQC,aAAaC,YAAc,OACtCJ,GAAGE,QAAQC,aAAaE,WAAa,MACrCL,GAAGE,QAAQC,aAAaG,cAAgB,SACxCN,GAAGE,QAAQC,aAAaI,cAAgB,SAExCP,GAAGE,QAAQC,aAAaK,aAAe,oBAMvCR,GAAGE,QAAQC,aAAaM,KAAO,SAAUC,EAAOC,GAE/CA,EAASA,EAASA,EAASX,GAAGE,QAAQC,aAAaC,YAEnD,IAAIQ,EAAmBZ,GAAGE,QAAQC,aAAaU,6BAA6BH,GAC5E,IAAII,EAAQJ,EAAMK,MAAMC,iBAAiBJ,GACzC,GAAIE,EAAMG,OAAS,EACnB,CACC,GAAGN,GAAUX,GAAGE,QAAQC,aAAaI,eAAiBP,GAAGE,QAAQC,aAAae,eAAeJ,GAC7F,CACCd,GAAGE,QAAQC,aAAagB,QAAQT,GA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